package com.jicheng;

public class Manager extends worker {

    private double bonus;

    public Manager(String name,int id,double money,double bonus){
        super(name,id,money);
        this.bonus = bonus;
    }

    public void work(){
        System.out.println(",奖金为："+bonus+",的项目经理正在管理程序员写代码");
    }
}
